home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4030 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: C Uglifyer wanted
  5. Date: 2 Feb 1996 00:40:13 +1300
  6. Organization: Airdmhor
  7. Message-ID: <4eq8qt$66i@airdmhor.gen.nz>
  8. References: <47d983$aq4@apollo.ekfido.kodak.com> <DLHBy6.JJF@cix.compulink.co.uk> <4dtodp$1pf@news.chattanooga.net> <DLs1ru.9FG@ich.nl> <310CBF6F.3A17@ctrvax.vanderbilt.edu>
  9. NNTP-Posting-Host: localhost.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. ("Dominic Monk") writes:
  13. > does anybody know of an useful c-code uglifyer? The code
  14. > should still be compilable on different platforms but
  15. > variable names etc. changed so that reading, editing etc,
  16. > becomes impossible.
  17.  
  18. Marcus H. Mendenhall:
  19. > Just send it to the programmers who are trained in writing 
  20. > platform-independent UNIX/Gnu (etc.) code.  If has been edited for 
  21. > any of these systems, there is no chance anyone will understand a 
  22. > single line of it.  It will have 1000+ conditional header file 
  23. > includes and definitions, and nowhere will you be able to find the 
  24. > little piece of code (somewgere deep inside) which actuall _does_ 
  25. > something. :-)
  26.  
  27.   I don't know.. the idea has potential.  You could compress it as much as
  28. possible by taking out all the whitespace, Lempel Ziv (sp) using #defines,
  29. and Huffman on all of the variable and function names.  It could be the
  30. subject of a competition for the best compression.. Lines no longer than 64
  31. characters, etc.
  32.